Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PHPStan 2.0 #367

Merged
merged 4 commits into from
Dec 3, 2024
Merged

Add support for PHPStan 2.0 #367

merged 4 commits into from
Dec 3, 2024

Conversation

sweptsquash
Copy link
Contributor

@sweptsquash sweptsquash commented Nov 22, 2024

This PR resolves #366

Currently anyone wishing to use PHPStan 2.0 / LaraStan 3.0 are unable to utilise the awesome sauce of Spatie Ray. This is related to package rector/rector, which currently no release tagged for PHPStan 2.0 yet. But it's in the testing phase see the open issue for more details rectorphp/rector#8815 (comment)

Please note once the release has been tagged and released for rector/rector I will update this PR with the tags correctly for the rector/rector in the composer.json file.

I've also taken the feedback raised in #364 and made changes to the phpstan-baseline.neon file.

Related PR: spatie/ray#946

fix: PHPStan errors

chore: normalize composer.json
@timvandijck
Copy link
Member

@sweptsquash thanks for the updates 🙌

@timvandijck timvandijck merged commit 00a0782 into spatie:main Dec 3, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to install when running PHPStan 2.x.
2 participants